#ifndef __GT_GUI_H__
#define __GT_GUI_H__

#include "ISysResources.h"


class CGtGui : public virtual IGui
{
INIT_CLASS_SINGLETON(CGtGui)
public:
	const bool InitCanvas(::HDC ptrSouDc, RECT & clRect, ::HDC & InitDc, ::HBITMAP & InitBmp, int iBackgroundModes = TRANSPARENT);
	const bool InitFont(::HFONT & clFont, int iHeight, int iWidth = 0, const char * pszFontName = "Microsoft Sans Serif");
	const bool InitBrush(::HBRUSH &clBrush, const COLORREF dwColor);
	const bool InitPen(::HPEN & clPen, int iStyle, int iWidth, const COLORREF dwColor);
	void InitRect(::RECT & clRect, int iLeft, int iTop, int iHeight, int iWidth);
	const bool FillColor(::HDC & clHdc, ::RECT & refRect, const COLORREF dwColor);
	const bool FillColor(::HDC & clHdc, int iLeft, int iTop, int iHeight, int iWidth, const COLORREF dwColor);
    const bool Rectangle(::HDC & clHdc, ::RECT & refRect, const COLORREF dwBackgroundColor, const COLORREF dwLinColor, int iStyle = 0, int iLinWidth = 1);
	const bool OutText(::HDC & clHdc, ::RECT & refRect, ::HFONT & clFont, const char * pszText, const COLORREF dwFontColor, const COLORREF dwBackgroundColor, CAlign emAlign = alMiddle);
};



#endif//__GT_GUI_H__

